﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;


namespace COMOSOFT.OrderBusiness.Report
{
    public partial class rptCostingDetails : DevExpress.XtraReports.UI.XtraReport
    {
        public rptCostingDetails(int CMID)
        {
            InitializeComponent();

            DataSet.DataSetOrderManagementTableAdapters.CostingMasterTableAdapter adtM = new DataSet.DataSetOrderManagementTableAdapters.CostingMasterTableAdapter();
            DataSet.DataSetOrderManagementTableAdapters.rpt_CostingDetailsTableAdapter adtD = new DataSet.DataSetOrderManagementTableAdapters.rpt_CostingDetailsTableAdapter();
            adtM.FillBy(dataSetOrderManagement1.CostingMaster, CMID);            
            adtD.FillBy(dataSetOrderManagement1.rpt_CostingDetails,CMID);
            xrLab_Creator.Text = COMOSOFT.Class.ClassShare.Usname;
        }
    }
}
